package com.foreveross.fetl.common.application;

import com.dayatang.domain.InstanceFactory;
import com.dayatang.querychannel.service.QueryChannelService;

public abstract class BaseApplicationImpl implements IBaseApplication {
	
	protected QueryChannelService queryChannel1() {
		return InstanceFactory.getInstance(QueryChannelService.class, "queryChannel");
	} 
	
	protected QueryChannelService queryChannel2(){
		return InstanceFactory.getInstance(QueryChannelService.class, "queryChannel2");
	}
//	@Override
//	public <T extends IBaseEntity> T find(Class<T> clazz, Serializable id) throws Exception {
//		return InstanceFactory.getInstance(clazz, id);
//	}


	
}
